package com.zh.work.entity.trans;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel("异常交易实体类")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("qrcode_trans_error")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class QrCodeTransErrorEntity extends Model<QrCodeTransErrorEntity> {
  private static final long serialVersionUID = 5055097137636804436L;
  @ApiModelProperty(value = "主键", name = "id ")
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;
  @ApiModelProperty(value = "交易日期", name = "transDate")
  private String transDate;
  @ApiModelProperty(value = "交易时间", name = "transTime")
  private String transTime;
  @ApiModelProperty(value = "平台订单号", name = "orderno")
  private String orderno;
  @ApiModelProperty(value = "交易状态0-下单成功 1-支付成功 2-支付失败", name = "status")
  private Integer status;
  @ApiModelProperty(value = "金额", name = "amount")
  private Float amount;
  @ApiModelProperty(value = "支付方式", name = "payType")
  private Integer payType;
  @ApiModelProperty(value = "扫码类型(1-主扫 2-被扫)", name = "scanType")
  private Integer scanType;
  @ApiModelProperty(value = "结算类型(1-T+0 2-T+1)", name = "settleType")
  private Integer settleType;
  @ApiModelProperty(value = "渠道编码", name = "channelCode")
  private String channelCode;
  @ApiModelProperty(value = "渠道商户号", name = "channelMerchno")
  private String channelMerchno;
  @ApiModelProperty(value = "渠道订单号", name = "channelOrderno")
  private String channelOrderno;
  @ApiModelProperty(value = "备份订单号", name = "channelBackup")
  private String channelBackup;
  @ApiModelProperty(value = "支付状态 0-待支付,1-支付成功 2-支付失败 3-支付未完成", name = "payStatus")
  private Integer payStatus;
  @ApiModelProperty(value = "支付说明", name = "payDesc")
  private String payDesc;
  @ApiModelProperty(value = "差错类型(1-长款 2-短款)", name = "errorType")
  private Integer errorType;
  @ApiModelProperty(value = "处理状态(1-未处理 2-已处理)", name = "processStatus")
  private Integer processStatus;
  @ApiModelProperty(value = "处理时间", name = "processDate")
  private String processDate;
  @ApiModelProperty(value = "备注", name = "remark")
  private String remark;
  @ApiModelProperty(value = "商户名", name = "merchantName")
  @TableField(exist = false)
  private  String merchantName;


}
